<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 
<meta http-equiv="Pragma" content="no-cache"> 
<meta http-equiv="Cache-Control" content="no-cache"> 
<meta http-equiv="Expires" content="0"> 
<title>后台登录</title> 
<link href="/zhihu/admin/css/login.css" type="text/css" rel="stylesheet"> 
</head> 
<body> 

<div class="login">
    <div class="message">后台登录</div>
    <div id="darkbannerwrap"></div>
    
    <form method="post" action="{{url('/admin/login/check')}}">
        
		<input name="action" value="login" type="hidden">
		<input name="username" placeholder="用户名" required="" type="text">
		<hr class="hr15">
		<input name="password" placeholder="密码" required="" type="password">
		<hr class="hr15">
        <input name="vcode" placeholder="验证码" required="" type="text" style="width:100px;">
        <hr class="hr15">
        <img src="/vcode" alt="" style="position:absolute;left:700px;top:425px;" onclick="this.src=this.src+'?a=1'">
        @if(session('error'))
            <div style="font-size:20px;color:red">
                   {{session('error')}}
            </div>
        @endif
        @if (count($errors) > 0)
        <div class="alert alert-danger">
            <ul>
                @foreach($errors->all() as $error)
                    <li>{{ $error }}</li>
                @endforeach
            </ul>
        </div>
        @endif
        {{csrf_field()}}
		<input value="登录" style="width:100%;" type="submit">
		<hr class="hr20">

		<!-- 帮助 <a onClick="alert('请联系管理员')">忘记密码</a> -->
	</form>

	
</div>

<div class="copyright">品牌名称 by 刁民</div>

</body>
</html>